#ifndef __IO_H
#define __IO_H

#include <iostream>
#include "structures.h"

using namespace std;

extern game_settings read_settings();
extern vector<unit_type> read_unit_types();
extern vector<zone> read_zones(int board_radius);
extern vector<available> read_available_units();
extern void write_locations(const vector<location>& locations, int board_radius);
void read_situation(vector<state>& states, game_field& field, int board_radius);
extern move read_move(int field_radius);
extern void write_move(move m, int field_radius);

#endif